<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">

    <ui:composition>

        <p:dialog id="VisitasViewDlg" widgetVar="VisitasViewDialog" modal="true" resizable="false" appendToBody="true" header="#{bundle.ViewVisitasTitle}">

            <h:form id="VisitasViewForm">

                <h:panelGroup id="display">
                    <p:panelGrid columns="2" rendered="#{visitasController.selected != null}">

                        <h:outputText value="#{bundle.ViewVisitasLabel_idPracticas}"/>
                        <h:outputText value="#{visitasController.selected.idPracticas}" title="#{bundle.ViewVisitasTitle_idPracticas}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_tipo}"/>
                        <h:outputText value="#{visitasController.selected.tipo}" title="#{bundle.ViewVisitasTitle_tipo}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_numero}"/>
                        <h:outputText value="#{visitasController.selected.numero}" title="#{bundle.ViewVisitasTitle_numero}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_nombres}"/>
                        <h:outputText value="#{visitasController.selected.nombres}" title="#{bundle.ViewVisitasTitle_nombres}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_apellidos}"/>
                        <h:outputText value="#{visitasController.selected.apellidos}" title="#{bundle.ViewVisitasTitle_apellidos}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_formacion}"/>
                        <h:outputText value="#{visitasController.selected.formacion}" title="#{bundle.ViewVisitasTitle_formacion}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_empresa}"/>
                        <h:outputText value="#{visitasController.selected.empresa}" title="#{bundle.ViewVisitasTitle_empresa}"/>

                        <h:outputText value="#{bundle.ViewVisitasLabel_motivo}"/>
                        <h:outputText value="#{visitasController.selected.motivo}" title="#{bundle.ViewVisitasTitle_motivo}"/>

                        
                    </p:panelGrid>
                    <p:commandButton value="#{bundle.Close}" onclick="VisitasViewDialog.hide()"/>
                </h:panelGroup>

            </h:form>

        </p:dialog>

    </ui:composition>

</html>
